﻿@{
    ViewBag.Title = "Trang chủ";
    Layout = "~/Views/Shared/FrontEndMasterLayout.cshtml";
    DLULearningNetworkModel.Account curUser = DLULearningNetwork.ActionFilterAttributes.RequireUserLogin.LoginUser;
}
@section cssjs{
    <script type="text/javascript" src="../../Scripts/Custom/jquery.autogrow.js"></script>
    <script type="text/javascript" src="../../Scripts/Custom/jsEncodeDecode.js"></script>
    <script type="text/javascript" src="../../Scripts/Custom/jsHomepage.js"></script>
    <script type="text/javascript" src="../../Scripts/Custom/jquery.tinyscrollbar.min.js"></script>
    <script type="text/javascript" src="../../Scripts/Custom/jsNotificationBox.js"></script>
    <link href="@Url.Content("~/Content/ScrollBar.css")"rel="stylesheet" type="text/css" />
}
@section rightColumn{
    <div id="left-content">
        <div class="status-pf">
            <h3>
                @curUser.LastName_s @curUser.FirstName_s ( @curUser.Nickname_s )
            </h3>
            @*Ten nguoi duoc xem*@
            <div style="height: 30px;">
            </div>
        </div>
        <div id="statusCenter">
            <div class="status-input" id="status_id">
                <textarea name="txtMainStatus" id="txtMainStatus" class="mainStatus"></textarea>
                <div class="clr">
                    <a id="btnSubmitMainStatus" class="dlubtn" style="margin: 10px 10px 10px auto;">Cập
                        nhật</a>
                </div>
            </div>
            <div class="clr" style="height: 30px;">
            </div>
            <div id="feedStory" numberoffeed="0">
            </div>
            <div id="loadingBar" style="display: none;">
                <a id="moreFeed" href="#" onclick="return false;" style="color: Green; float: left;">
                    Xem thêm</a>
                <img src="../../Content/Images/loadingimage.gif" alt="" style="display: none;" />
            </div>
        </div>
    </div>
    <div id="right-box" style="z-index: 1000;">
        @Html.Action("NotificationBox", "RightBox")
        <div style="height: 30px;">
        </div>
        @Html.Action("GetScheduleSermina", "RightBox")
        
        <script type="text/javascript">
            $(document).ready(function () {
                $(".vscrollbar").tinyscrollbar();
                if ($("p[name=noRequest]").length != 0) {
                    $("p[name=noRequest]").parents(".viewport").css('height', "30px");
                }
                NotificationBox();
                $(".otherNotifications").css('display', 'none');
                $(".courseNotifications").css('display', 'none');
            })
            
        </script>
        <script type="text/javascript">
            
        </script>
    </div>
}
